package org.p2psimulator.entity.id;

import org.p2psimulator.entity.Id;

public class StringId extends Id<String> {

	public StringId(String value) {
		super(value);
	}

	@Override
	public int hashCode() {
		return value.hashCode();
	}

	@Override
	public boolean equals(Object arg) {

		StringId id = (StringId) arg;
		return this.value.equals(id.getValue());
	}

}
